<footer>
    <div class="footer-box">
        <div class="wrapper">
            <a href="<?= base_url(); ?>" id="footer_logo">
                <span>DC</span>arolino
            </a>
            <ul id="icons">
                <li>
                    <a class="normaltip" href="<?= FACEBOOK_PROFILE; ?>" target="_blank" title="Facebook">
                        <img src="/static/images/icon1.gif" alt="Facebook" />
                    </a>
                </li>
                <li>
                    <a class="normaltip" href="<?= TWITTER_PROFILE; ?>" target="_blank" title="Twitter">
                        <img src="/static/images/icon2.gif" alt="Twitter" />
                    </a>
                </li>
                <li>
                    <a class="normaltip" href="<?= LINKEDIN_PROFILE; ?>" target="_blank" title="Linkedin">
                        <img src="/static/images/icon3.gif" alt="Linkedin" />
                    </a>
                </li>
            </ul>
        </div>	
        <div class="wrapper">
            <nav>
                <ul id="footer_menu">
                    <li <?= ($controller == $text->line('page.default.role')) ? 'class="active"' : ''; ?>>
                        <a href="<?= base_url(); ?>" target="_self" title="<?= $text->line('page.default.name'); ?>">
                            <?= $text->line('page.default.name'); ?>
                        </a>
                    </li>
                    <li <?= ($controller == $text->line('page.about.role')) ? 'class="active"' : ''; ?>>
                        <a href="/<?= $text->line('page.about.role'); ?>" target="_self" title="<?= $text->line('page.about.name'); ?>">
                            <?= $text->line('page.about.name'); ?>
                        </a>
                    </li>
                    <li <?= ($controller == $text->line('page.more.role')) ? 'class="active"' : ''; ?>>
                        <a href="/<?= $text->line('page.more.role'); ?>" target="_self" title="<?= $text->line('page.more.name'); ?>">
                            <?= $text->line('page.more.name'); ?>
                        </a>
                    </li>   
                    <li <?= ($controller == $text->line('page.blog.role')) ? 'class="active"' : ''; ?>>
                        <a href="/<?= $text->line('page.blog.role'); ?>" target="_self" title="<?= $text->line('page.blog.name'); ?>">
                            <?= $text->line('page.blog.name'); ?>
                        </a>
                    </li>
                    <li class="<?= ($controller == $text->line('page.contact.role')) ? 'active' : ''; ?> end">
                        <a href="/<?= $text->line('page.contact.role'); ?>" target="_self" title="<?= $text->line('page.contact.name'); ?>">
                            <?= $text->line('page.contact.name'); ?>
                        </a>
                    </li>
                </ul>
            </nav>
            <div class="tel">
                <span><?=$text->line('page.contact.name'); ?></span><?= PHONE_NUMBER; ?>
            </div>
        </div>
        <div id="footer_text">
            <?= $text->line('copyright'); ?>
        </div>
    </div>
</footer>

